ExamPlay Light Logo
Anmelden

Computer Science for IGCSE & O level - Programming (Section 15 - No. 48)

What would be displayed if the following code segment was executed OUTPUT: myData[2]
The number 2
The value stored at the third position in the myData array.
The name of the array
An error message

Erläuterung

Arrays are generally 0-indexed, therefore element at position '2' is the third element.

Kommentare (0)

Zum Kommentieren anmelden
Werbung
BrainBehindX Inc Logo
©2026; Angetrieben von BrainBehindX Inc